]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
window-manager: Fix variable name
authorfry <thomassc@ee.oulu.fi>
Mon, 24 Oct 2011 09:39:01 +0000 (11:39 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Tue, 8 Nov 2011 00:57:20 +0000 (01:57 +0100)
In _shouldAnimate() _animationBlockCount was referred to as
_animationsBlocked, fix this.

https://bugzilla.gnome.org/show_bug.cgi?id=662394

js/ui/windowManager.js

index 473e9babb5896045320fc82cac574a28033917f5..d827b22bbe5f2dc085507ea48912c9d9014f00f8 100644 (file)
@@ -160,7 +160,7 @@ WindowManager.prototype = {
     },
 
     _shouldAnimate : function(actor) {
-        if (Main.overview.visible || this._animationsBlocked > 0)
+        if (Main.overview.visible || this._animationBlockCount > 0)
             return false;
         if (actor && (actor.meta_window.get_window_type() != Meta.WindowType.NORMAL))
             return false;